package com.jjyu.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("restaurant")
public class Restaurant {
    @TableId
    private Integer restaurantId;  // 餐馆ID
    private String name;  // 餐馆名称
    private String address;  // 餐馆地址
    private Double rating;  // 餐馆评分
    private LocalDateTime createdAt;  // 创建时间
    private LocalDateTime updatedAt;  // 更新时间

}